<div id="YHBY-form" class="YHBY-form">
  <div class="YHBY-form-control YHBY-form-item">
    <label>公司名称</label>
    <input v-model="company" placeholder="请填写公司名称" />
  </div>
  <div class="YHBY-form-item" v-for="(i, index) in dataList" :key="`form_item_${index}`">
    <div class="YHBY-form-control value">
      <label>关键词{{index + 1}}</label>
      <input v-model="i.name" placeholder="请填写关键词" />
      <span class="delete-icon" v-show="index > 0" @click="deleteData(index)">x</span>
    </div>
    <div class="YHBY-form-control url">
      <label>推广地址</label>
      <input v-model="i.pcLoc" placeholder="请填写推广地址" />
    </div>
  </div>
  <button class="add-btn YHBY-btn" @click="addData()">增加关键词</button>
  <div class="YHBY-footer">
    <button class="submit-btn YHBY-btn" @click="submitData()">确认提交</button>
  </div>
</div>